home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat1 / mpadmin.z / mpadmin
Encoding:
Text File  |  2001-04-17  |  8.3 KB  |  199 lines

  1.  
  2.  
  3.  
  4. mmmmppppaaaaddddmmmmiiiinnnn((((1111))))                                                          mmmmppppaaaaddddmmmmiiiinnnn((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      mpadmin - control and report processor status
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      mmmmppppaaaaddddmmmmiiiinnnn ----nnnn
  13.  
  14.      mmmmppppaaaaddddmmmmiiiinnnn ----uuuu[processor]
  15.  
  16.      mmmmppppaaaaddddmmmmiiiinnnn ----rrrr[processor]
  17.  
  18.      mmmmppppaaaaddddmmmmiiiinnnn ----cccc[processor]
  19.  
  20.      mmmmppppaaaaddddmmmmiiiinnnn ----ffff[processor]
  21.  
  22.      mmmmppppaaaaddddmmmmiiiinnnn ----IIII[processor]
  23.  
  24.      mmmmppppaaaaddddmmmmiiiinnnn ----UUUU[processor]
  25.  
  26.      mmmmppppaaaaddddmmmmiiiinnnn ----DDDD[processor]
  27.  
  28.      mmmmppppaaaaddddmmmmiiiinnnn ----CCCC[processor]
  29.  
  30.      mmmmppppaaaaddddmmmmiiiinnnn ----NNNN
  31.  
  32.      mmmmppppaaaaddddmmmmiiiinnnn ----ssss
  33.  
  34. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  35.      _m_p_a_d_m_i_n provides control/information of processor status.
  36.  
  37.      Exactly one argument is accepted by _m_p_a_d_m_i_n at each invocation.  The
  38.      following arguments are accepted:
  39.  
  40.      ----nnnn           Report which processors are physically configured.  The
  41.                   numbers of the physically configured processors are written
  42.                   to the standard output, one processor number per line.
  43.                   Processors are numbered beginning from 0.
  44.  
  45.      ----uuuu[_p_r_o_c_e_s_s_o_r]
  46.                   When no _p_r_o_c_e_s_s_o_r is specified, the numbers of the
  47.                   processors that are available to schedule unrestricted
  48.                   processes are written to the standard output.  Otherwise,
  49.                   _m_p_a_d_m_i_n enables the processor number _p_r_o_c_e_s_s_o_r to run any
  50.                   unrestricted processes.
  51.  
  52.      ----rrrr[_p_r_o_c_e_s_s_o_r]
  53.                   When no _p_r_o_c_e_s_s_o_r is specified, the numbers of the
  54.                   processors that are restricted from running any processes
  55.                   (except those assigned via the _s_y_s_m_p(MP_MUSTRUN) function,
  56.                   the _r_u_n_o_n(1) command, or because of hardware necessity) are
  57.                   written to the standard output.  Otherwise, _m_p_a_d_m_i_n
  58.                   restricts the processor numbered _p_r_o_c_e_s_s_o_r.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. mmmmppppaaaaddddmmmmiiiinnnn((((1111))))                                                          mmmmppppaaaaddddmmmmiiiinnnn((((1111))))
  71.  
  72.  
  73.  
  74.      ----cccc[_p_r_o_c_e_s_s_o_r]
  75.                   When no _p_r_o_c_e_s_s_o_r is specified, the number of the processor
  76.                   that handles the operating system software clock is written
  77.                   to the standard output.  Otherwise, operating system
  78.                   software clock handling is moved to the processor numbered
  79.                   _p_r_o_c_e_s_s_o_r.  See _t_i_m_e_r_s(5) for more details.
  80.  
  81.      ----ffff[_p_r_o_c_e_s_s_o_r]
  82.                   When no _p_r_o_c_e_s_s_o_r is specified, the number of the processor
  83.                   that handles the operating system fast clock is written to
  84.                   the standard output.  Otherwise, operating system fast clock
  85.                   handling is moved to the processor numbered _p_r_o_c_e_s_s_o_r.  See
  86.                   _f_t_i_m_e_r(1) and _t_i_m_e_r_s(5) for a description of the fast clock
  87.                   usage.
  88.  
  89.      ----IIII[_p_r_o_c_e_s_s_o_r]
  90.                   When no _p_r_o_c_e_s_s_o_r is specified, the numbers of the
  91.                   processors that are isolated are written to the standard
  92.                   output.  Otherwise, _m_p_a_d_m_i_n isolates the processor numbered
  93.                   _p_r_o_c_e_s_s_o_r.  An isolated processor is restricted as by the -r
  94.                   argument.  In addition, instruction cache and Translation
  95.                   Lookaside Buffer synchronization are blocked, and
  96.                   synchronization is delayed until a system service is
  97.                   requested.
  98.  
  99.      ----UUUU[_p_r_o_c_e_s_s_o_r]
  100.                   When no _p_r_o_c_e_s_s_o_r is specified, the numbers of the
  101.                   processors that are not isolated are written to the standard
  102.                   output.  Otherwise, _m_p_a_d_m_i_n unisolates the processor
  103.                   numbered _p_r_o_c_e_s_s_o_r.
  104.  
  105.      ----DDDD[_p_r_o_c_e_s_s_o_r]
  106.                   When no _p_r_o_c_e_s_s_o_r is specified, the numbers of the
  107.                   processors that are not running the clock scheduler are
  108.                   written to the standard output.  Otherwise, _m_p_a_d_m_i_n disables
  109.                   the clock scheduler on the processor numbered _p_r_o_c_e_s_s_o_r.
  110.                   This makes that processor nonpreemptive, so that normal IRIX
  111.                   process time slicing is no longer enforced.  Processes that
  112.                   run on a non-preemptive processor are not preempted because
  113.                   of timer interrupts.  They are preempted only when
  114.                   requesting a system service that causes them to wait, or
  115.                   that makes a higher-priority process runnable (for example,
  116.                   posting a semaphore).
  117.  
  118.      ----CCCC[_p_r_o_c_e_s_s_o_r]
  119.                   When no _p_r_o_c_e_s_s_o_r is specified, the numbers of the
  120.                   processors that are running the clock scheduler are written
  121.                   to the standard output.  Otherwise, _m_p_a_d_m_i_n enables the
  122.                   clock scheduler on the processor numbered _p_r_o_c_e_s_s_o_r.
  123.                   Processes on a preemptive processor can be preempted at the
  124.                   end of their time slice.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. mmmmppppaaaaddddmmmmiiiinnnn((((1111))))                                                          mmmmppppaaaaddddmmmmiiiinnnn((((1111))))
  137.  
  138.  
  139.  
  140.      ----NNNN           A list of processors that are isolated from receiving
  141.                   sprayed interrupts.  The system administrator can isolate
  142.                   one or more CPUs from receiving sprayed interrupts by
  143.                   placing the NOINTR statement in the system configuration
  144.                   file, /_v_a_r/_s_y_s_g_e_n/_s_y_s_t_e_m/_i_r_i_x._s_m
  145.  
  146.      ----ssss           A summary of the unrestricted, restricted, isolated,
  147.                   preemptive and clock processor numbers is written to the
  148.                   standard output.
  149.  
  150. FFFFIIIILLLLEEEESSSS
  151.      /var/sysgen/system/irix.sm      system configuration file
  152.  
  153. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  154.      ftimer(1), runon(1), sysmp(2), timers(5).
  155.  
  156. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  157.      When an argument specifies a _p_r_o_c_e_s_s_o_r, 0 is returned on success, -1 on
  158.      failure.  Otherwise, the number of processors associated with _a_r_g_u_m_e_n_t is
  159.      returned.
  160.  
  161. WWWWAAAARRRRNNNNIIIINNNNGGGGSSSS
  162.      It is not possible to restrict or isolate all processors.  Processor 0
  163.      must never be restricted or isolated.
  164.  
  165. BBBBUUUUGGGGSSSS
  166.      Changing the clock processor may cause the system to lose a small amount
  167.      of system time.
  168.  
  169.      When a processor is not provided as an argument, mpadmin's exit value
  170.      will not exceed 255.  If more than 255 processors exist, mpadmin will
  171.      return 0.
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.